import json


def json_read(filepath):
    filename = filepath
    f_obj = open(filename, encoding='utf-8')
    nums = json.load(f_obj)
    return nums


if __name__ == '__main__':
    res = json_read('../data/apidata.json')
    print(type(res))
    print(res)
